package org.marlin.http.http;

/**
 * init version 1.5.0
 * @author Jack ZG
 * @since 1.0.0
 */
public class Uri {
    private String url;
    private String method;
    private String hostSpace;
    private HttpReturnType type;
    private Class<?> returnClass;

    public Uri(String url, String hostSpace, HttpReturnType type, Class<?> returnClass) {
        this.url = url;
        this.hostSpace = hostSpace;
        this.type = type;
        this.returnClass = returnClass;
    }


    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return this.method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getHostSpace() {
        return this.hostSpace;
    }

    public void setHostSpace(String hostSpace) {
        this.hostSpace = hostSpace;
    }

    public HttpReturnType getType() {
        return this.type;
    }

    public void setType(HttpReturnType type) {
        this.type = type;
    }

    public Class<?> getReturnClass() {
        return this.returnClass;
    }

    public void setReturnClass(Class<?> returnClass) {
        this.returnClass = returnClass;
    }
}
